package com.chrray.position.service.upload;
import com.chrray.position.util.result.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 *上传文件
 */
public interface UploadrService {

	/**
	 * 上传图片
	 * @param upload
	 * @return
	 */
	ResponseResult uploadPic(MultipartFile upload);


	InputStream getImg(String fileId);
}
